home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.2 KB | 47 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH"="Internet\Internet Information Server\ASP Settings"
- "NAME"="Advanced Settings"
- "VERSION"="1.11"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Script Language"
- "TEXT 2"="Error Message"
- "DESCRIPTION 1"="Script Language: The script language used if no "@LANGUAGE=" command has been found in the ASP page."
- "DESCRIPTION 2"="Error Message: Specifies the message send to the client if "Send detailed error-information" is disabled."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sP="HKLM\System\CurrentControlSet\Services\W3SVC\ASP\Parameters\"
- vSL="DefaultScriptLanguage" 'SZ
- vEM="ScriptErrorMessage" 'SZ
-
- Sub Plugin_Initialize
- If RegPathExists(sP) then
- s=RegReadValue(sp&vsl)
- SetUIElement 1,s
-
- s=RegReadValue(sp&vem)
- SetUIElement 2,s
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(sp&vsl,s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(sp&vem,s,1)
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-